home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / telecomm / stadel / stadel2.zoo / document / multi.doc < prev    next >
Encoding:
Text File  |  1988-09-22  |  2.7 KB  |  51 lines

  1.                     Running STadel in the background
  2.                          under Amulti and/or RTX
  3.                             (ST version only)
  4.  
  5.     There is a new flag on the commandline for STadel that is used to
  6.     turn off i/o to the system console;  the `+multi' flag.  There is
  7.     also a new STadel utility (SYSOP.TOS) that is used to activate i/o
  8.     to the sysconsole so you can do almost all of the usual STadel
  9.     console things.  
  10.  
  11.     Under Amulti, running STadel in the background is quite simple;  in
  12.     the case of amulti, do SYS BP CITADEL +MULTI and citadel will load
  13.     up and sit quietly in the background.  You may then go off and do
  14.     other things as you desire ('cept run modem programs -- citadel
  15.     will fight with them unless you drop it into CONSOLE mode before
  16.     executing them).  To get back at citadel, run SYSOP.TOS in your
  17.     #sysDir.  ^Z will drop STadel into the background again and
  18.     terminate SYSOP.  
  19.  
  20.     How does it work?  STadel 3.2a and above keeps a lockfile -- 
  21.     CITADEL.LCK -- in your #sysDir.  This lockfile contains a 8 
  22.     character hex constant that's the address of a bmv in CITADEL.TOS
  23.     which controls multitasking behavior.  If the character constant
  24.     at this address is nonzero, citadel will do i/o to the system
  25.     console;  if it's zero, it won't.  All SYSOP.TOS does is make this
  26.     variable nonzero, then loop until it's zero.  
  27.  
  28.     STadel has been tested under Amulti.  I suspect it will work with
  29.     RTX, because it doesn't use any special calls, but I don't 
  30.     guarantee anything there.  When running under Amulti, STadel runs
  31.     very jerkily -- your users might go out of their minds while its
  32.     running.  When you've got a citadel running in the background, the
  33.     multitasker crashes when it terminates.  If you want a good
  34.     multitasking citadel, buy OS-9 or Idris and port STadel to that
  35.     OS.  
  36.  
  37.         On the PC, you don't need all this.  The PC has an
  38.         interesting little program called DoubleDos(tm) available
  39.         for it that will do multitasking just fine, and which
  40.         doesn't need to have citadel do anything special to
  41.         function properly.  On the PC, a running STadel takes up
  42.         about 185-190K, so it is possible to run two STadels on a
  43.         single PC, if you are so inclined (to do this, of course,
  44.         you MUST have a FOSSIL V5 compatable serial driver loaded
  45.         into the system.) More realistically, you can drop 
  46.         citadel into the background and compile, edit, play games,
  47.         or do just about anything you want that doesn't take over
  48.         the serial ports (and if you're running a FOSSIL V5
  49.         driver, you can even do that in a limited way.) 
  50.  
  51.